NVIDIA Jetson Xavier NX设备上使用jtop监控GPU、CPU、内存等的使用

您所在的位置:网站首页 linux 查看gpu使用率 NVIDIA Jetson Xavier NX设备上使用jtop监控GPU、CPU、内存等的使用

NVIDIA Jetson Xavier NX设备上使用jtop监控GPU、CPU、内存等的使用

2023-10-13 15:12| 来源: 网络整理| 查看: 265

文章目录: 1 在Jetson设别上安装jtop2 jtop的使用2.1 jtop的使用2.2 jetson-stats一些可执行文件使用 3 jetson NX默认刷好机之后的环境

1 在Jetson设别上安装jtop

1、jtop的github官网

jtop的github官网:https://github.com/rbonghi/jetson_stats

2、安装jtop

直接使用pip安装即可

sudo -H pip install -U jetson-stats

2 jtop的使用 2.1 jtop的使用

1、直接在命令行中输入

jtop

打开之后就可以动态显示了(由于动态gif太大上传不了),点击最下面一行按钮可以切换显示,如下:

1)显示所有的信息

在这里插入图片描述

2)显示GPU使用动态信息

在这里插入图片描述

3)显示CPU使用动态信息

在这里插入图片描述

4)显示内存使用动态信息

在这里插入图片描述

5)查看一些默认设置

在这里插入图片描述

6)查看Jetson设备上的一些软件库包版本信息

在这里插入图片描述

2.2 jetson-stats一些可执行文件使用

一共提供5个全局的可执行文件:

jtopjetson_configjetson_releasejetson_swapjetson variables

上面用过jtop了,再介绍一个Jetson_release,如下,只要在命令行中输入如下的命令即可,会显示出Jetson一些软件版本信息(和上面的info一样):

在这里插入图片描述

zhihui@zhihui-desktop:~$ jetson_release -v - NVIDIA Jetson Xavier NX (Developer Kit Version) * Jetpack 4.4 [L4T 32.4.3] * NV Power Mode: MODE_15W_6CORE - Type: 2 * jetson_stats.service: active - Board info: * Type: Xavier NX (Developer Kit Version) * SOC Family: tegra194 - ID:25 * Module: P3668 - Board: P3509-000 * Code Name: jakku * CUDA GPU architecture (ARCH_BIN): 7.2 * Serial Number: 1422420034718 - Libraries: * CUDA: 10.2.89 * cuDNN: 8.0.0.180 * TensorRT: 7.1.3.0 * Visionworks: 1.6.0.501 * OpenCV: 4.1.1 compiled CUDA: NO * VPI: 0.3.7 * Vulkan: 1.2.70 - jetson-stats: * Version 3.0.2 * Works on Python 3.6.9 zhihui@zhihui-desktop:~$

剩余的就自己探索吧!

3 jetson NX默认刷好机之后的环境

1、Jetson NX刷好机之后默认会装好很多软件

cudacudnntensorrtopencvgitdockercmake等等

2、python库包环境

zhihui@zhihui-desktop:~$ pip3 list DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. apt-clone (0.2.1) apturl (0.5.2) asn1crypto (0.24.0) beautifulsoup4 (4.6.0) blinker (1.4) Brlapi (0.6.6) certifi (2018.1.18) chardet (3.0.4) cryptography (2.1.4) cupshelpers (1.0) Cython (0.29.21) decorator (4.1.2) defer (1.0.6) distro-info (0.18ubuntu0.18.04.1) feedparser (5.2.1) graphsurgeon (0.4.5) html5lib (0.999999999) httplib2 (0.9.2) idna (2.6) jetson-stats (3.0.2) Jetson.GPIO (2.0.8) keyring (10.6.0) keyrings.alt (3.0) language-selector (0.1) launchpadlib (1.10.6) lazr.restfulclient (0.13.5) lazr.uri (1.0.3) louis (3.5.0) lxml (4.2.1) macaroonbakery (1.1.3) Mako (1.0.7) MarkupSafe (1.0) numpy (1.13.3) oauth (1.0.1) oauthlib (2.0.6) onboard (1.4.1) PAM (0.4.2) pandas (0.22.0) pip (9.0.1) protobuf (3.0.0) pycairo (1.16.2) pycrypto (2.6.1) pycups (1.9.73) pygobject (3.26.1) PyICU (1.9.8) PyJWT (1.5.3) pymacaroons (0.13.0) PyNaCl (1.1.2) pyRFC3339 (1.0) python-apt (1.6.5+ubuntu0.2) python-dateutil (2.6.1) python-debian (0.1.32) pytz (2018.3) pyxdg (0.25) PyYAML (3.12) requests (2.18.4) requests-unixsocket (0.1.5) scipy (0.19.1) SecretStorage (2.3.1) setuptools (39.0.1) simplejson (3.13.2) six (1.11.0) ssh-import-id (5.7) system-service (0.3) systemd-python (234) tensorrt (7.1.3.0) ubuntu-drivers-common (0.0.0) uff (0.6.9) unity-scope-calculator (0.1) unity-scope-chromiumbookmarks (0.1) unity-scope-colourlovers (0.1) unity-scope-devhelp (0.1) unity-scope-firefoxbookmarks (0.1) unity-scope-manpages (0.1) unity-scope-openclipart (0.1) unity-scope-texdoc (0.1) unity-scope-tomboy (0.1) unity-scope-virtualbox (0.1) unity-scope-yelp (0.1) unity-scope-zotero (0.1) urllib3 (1.22) urwid (2.0.1) wadllib (1.3.2) webencodings (0.5) wheel (0.30.0) xkit (0.0.0) zope.interface (4.3.2) zhihui@zhihui-desktop:~$ 欢迎大家关注笔者,你的关注是我持续更博的最大动力 原创文章,转载告知,盗版必究 微信:suihailiang0816 QQ:931762054 wx公众号:仰望星空的小随


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3